彻底清理电脑`磁盘还有系统垃圾 把电脑变成效果跟刚买了差不多

来源:百度知道 编辑:UC知道 时间:2024/06/04 01:03:28
在桌面上新建个文本文档或记事本 复制下面命令 然后点另存为 把保存类型改成“所有文件” 文件名后面加上 .bat 保存好运行就OK了

@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*

rd /s /q %windir%\temp & md %windir%\temp

del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"

echo 清空IE临时文件目录..
del /f /s /q &quo

5~~~~把我所有的盘符都格了 我的资料啊 ~~~~~~~~~~

lz想问什么问题
这个清理没有专门的清理软件清理的彻底

可以试试优化大师或者超级兔子一类的软件

来点分

del /f /s /q %systemdrive%\*.log
把这行删掉,有的系统日志就存成这种格式